﻿using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Services;
using YAPACS.RisServer.Abstractions;
using YAPACS.RisServer.Services.ECharts;

namespace YAPACS.RisServer.Services
{
    /// <summary>
    /// EChart工厂服务
    /// </summary>
    public class EChartFactoryService : DomainService, IEChartFactoryService, ITransientDependency
    {
        /// <summary>
        /// 新数据轴对象
        /// </summary>
        /// <returns></returns>
        /// <exception cref="NotImplementedException"></exception>
        public Axis GetNewAxis()
        {
            return new Axis();
        }

        /// <summary>
        /// 新的轴线集合对象
        /// </summary>
        /// <returns></returns>
        public List<Axis> GetNewAxisList()
        { 
            return new List<Axis>();
        }


        /// <summary>
        /// 新的类目对象
        /// </summary>
        /// <returns></returns>
        public Category GetNewCategory()
        {
            return new Category();
        }

        /// <summary>
        /// 新的类目集合列表
        /// </summary>
        /// <returns></returns>
        public List<Category> GetNewCategoryList() 
        {
            return new List<Category>();
        }

        /// <summary>
        /// 新图表对象 
        /// </summary>
        /// <returns></returns>
        /// <exception cref="NotImplementedException"></exception>
        public EChart GetNewChart()
        {
            return new EChart();
        }

        /// <summary>
        /// 新数据源对象
        /// </summary>
        /// <returns></returns>
        /// <exception cref="NotImplementedException"></exception>
        public DataSource GetNewDataSource()
        {
            return new DataSource();
        }

        /// <summary>
        /// 新的数据源集合对象
        /// </summary>
        /// <returns></returns>
        /// <exception cref="NotImplementedException"></exception>
        public List<DataSource> GetNewDataSourceList()
        {
            return new List<DataSource>();
        }


        /// <summary>
        /// 新系列对象
        /// </summary>
        /// <returns></returns>
        /// <exception cref="NotImplementedException"></exception>
        public SeriesItem GetNewSeriesItem()
        {
            return new SeriesItem();
        }

        /// <summary>
        /// 新的系列集合
        /// </summary>
        /// <returns></returns>
        public List<SeriesItem> GetNewSeriesList()
        {
            return new List<SeriesItem>();
        }
    }
}
